package com.byb.server.service.mapper;

import com.byb.server.domain.*;
import com.byb.server.service.dto.IsurerDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity Isurer and its DTO IsurerDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface IsurerMapper extends EntityMapper <IsurerDTO, Isurer> {
    
    
    default Isurer fromId(Long id) {
        if (id == null) {
            return null;
        }
        Isurer isurer = new Isurer();
        isurer.setId(id);
        return isurer;
    }
}
